#ifndef HISTOGRAMHSI_H
#define HISTOGRAMHSI_H
#include <histogram.h>
#include <QColor>

class HistogramHSI :public Histogram
{
private:
    unsigned int* histogramHue;
    unsigned int* histogramSaturation;
    unsigned int *histogramIntensity;
    unsigned long* CDFH;
    unsigned long * CDFS;
    unsigned long* CDFI;

public:
    HistogramHSI();
    HistogramHSI(QImage*);
    ~HistogramHSI();
    void calcHistogram();
    void calcCDF();
    unsigned long * getHueCDF();
    unsigned long * getSaturationCDF();
    unsigned long * getIntensityCDF();
    QImage  calcHistImage();



};

#endif // HISTOGRAMHSI_H
